Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

592
Views
El lado del servidor no procesa las solicitudes http [Angular Universal]

Tengo un problema para obtener personal de la solicitud http de apis cuando hago 'ver fuente', parece que ese personal no proviene del servidor.

Entonces puedo ver html estático en la fuente pero nada de las solicitudes http ...

Alguien sabe que puede ser un problema?

estoy usando universal-cli

Editar:

aquí hay un ejemplo de llamada http de mi showcode.service.ts :

 import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { environment } from '../../environments/environment'; @Injectable() export class ShowcodeService { constructor(private http: Http) { } getCode(id): any{ return this.http.get(environment.baseUrl + 'code/show/' + id) .map((response: Response) => response.json()); }; }

Aquí hay un ejemplo en vivo: http://pushsc.com/show/code/58bc83760a58d602a0b99d14 verifique el código fuente de html... Representa todo lo que espera que provenga de http...

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Intente actualizar su angular a 4.0.0.

Repararon algunos errores que estaban relacionados con la representación del lado del servidor.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!